using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Objects;
using DAL;
using System.Collections.Generic;

public partial class Customer_UCControls_UCChuDeLeft : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        LoadChuDe();
    }

    public void LoadChuDe()
    {
        string temp="";

        List<ChuDe> ListChuDe = new List<ChuDe>();
        ListChuDe = BAL.BALChuDe.GetAllItem();

        foreach (ChuDe Item in ListChuDe)
        {
           temp = temp + "<DD><a href='MauThe.aspx?IdChuDe=" + Item.Id.ToString() + "'>"  + Item.TenChuDe + "</a></DD>";
        }

        Label1.Text = temp;
    }

}
